﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MyOA.DAL;
using MyOA.Model;


namespace MyOA.BLL
{
   public class CommandManage
    {
       CommandService service = new CommandService();

       /// <summary>
       /// 查看这用户是否有这个权限
       /// </summary>
       /// <param name="loginId">登陆用户名</param>
       /// <param name="nodeId">权限ID</param>
       /// <returns>是否这用户有此权限</returns>
       public bool isHaveRoleRight(string loginId, int nodeId)
       {
           return service.isHaveRoleRight(loginId,nodeId);
       }
    }
}
